/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.plan.web;

import java.util.Date;

import com.javaeye.common.dto.DTO;

public class VoucherCondition implements DTO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2176790542618442777L;
	
	private int deptId;
	
	private String materialsName;
	
	private Date beginDate;
	
	private Date endDate;
	
	private int status;
	
	private int type;
	
	private Integer[] typeList;
	
	private Integer[] statusList;
	
	private String voucherNo;
	
	private String batchNo;
	
	private int skuId;
	
	private String checkNo;

	public String getMaterialsName() {
		return materialsName;
	}

	public void setMaterialsName(String materialsName) {
		this.materialsName = materialsName;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}

	public int getDeptId() {
		return deptId;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return status;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}

	public void setTypeList(Integer[] typeList) {
		this.type = -1;
		this.typeList = typeList;
	}

	public Integer[] getTypeList() {
		return typeList;
	}

	public void setStatusList(Integer[] statusList) {
		this.status = -1;
		this.statusList = statusList;
	}

	public Integer[] getStatusList() {
		return statusList;
	}

	public String getVoucherNo() {
		return voucherNo;
	}

	public void setVoucherNo(String voucherNo) {
		this.voucherNo = voucherNo;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public int getSkuId() {
		return skuId;
	}

	public void setSkuId(int skuId) {
		this.skuId = skuId;
	}

	public void setCheckNo(String checkNo) {
		this.checkNo = checkNo;
	}

	public String getCheckNo() {
		return checkNo;
	}
	
}
